package com.sky.lightleafpicturepavilionserver.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 系统配置更新DTO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SystemConfigUpdateDTO implements Serializable {
    
    /**
     * 配置键
     */
    @NotBlank(message = "配置键不能为空")
    private String configKey;
    
    /**
     * 配置值
     */
    @NotNull(message = "配置值不能为空")
    private String configValue;
}